﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using nERP.Model.Rpt;
using nERP.Model;

namespace nERP.ViewModel.Rpt.DashboardVMs
{
    public partial class DashboardBatchVM : BaseBatchVM<Dashboard, Dashboard_BatchEdit>
    {
        public DashboardBatchVM()
        {
            ListVM = new DashboardListVM();
            LinkedVM = new Dashboard_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class Dashboard_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._Dashboard._PoAmount")]
        public decimal? PoAmount { get; set; }
        [Display(Name = "_Model._Dashboard._PoAmounted")]
        public decimal? PoAmounted { get; set; }
        [Display(Name = "_Model._Dashboard._SoAmount")]
        public decimal? SoAmount { get; set; }
        [Display(Name = "_Model._Dashboard._SoAmounted")]
        public decimal? SoAmounted { get; set; }
        [Display(Name = "_Model._Dashboard._PayAmount")]
        public decimal? PayAmount { get; set; }
        [Display(Name = "_Model._Dashboard._PayAmounted")]
        public decimal? PayAmounted { get; set; }
        [Display(Name = "_Model._Dashboard._ReceivableAmount")]
        public decimal? ReceivableAmount { get; set; }
        [Display(Name = "_Model._Dashboard._ReceivableAmounted")]
        public decimal? ReceivableAmounted { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}